﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class TheKhachHangB
    {
        TheKhachHangDB tkh = new TheKhachHangDB();

        public DataTable bLayDSKHThanThiet()
        {
            return tkh.dLayDSKhThanThiet();
        }

        public DataTable bTimKhThanThiet(string tenKH)
        {
            return tkh.dTimKhThanThiet(tenKH);
        }

        public DataTable bLayTheKHTheoMa(string makh)
        {
            return tkh.dLayTheKHTheoMa(makh);
        }

        public bool bCapTheKhachHang(TheKhachHang the, int manv)
        {
            return tkh.dCapTheKhachHang(the, manv);
        }

        public bool bCapNhatDiemTichLuy(int makh, int diemtichluy)
        {
            return tkh.bCapNhatDiemTichLuy(makh, diemtichluy);
        }
    }
}
